home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
libelfutil
/
xlate_pro_add_info.z
/
xlate_pro_add_info
Wrap
Text File
|
1998-10-30
|
8KB
|
132 lines
XXXXLLLLAAAATTTTEEEE____PPPPRRRROOOO____AAAADDDDDDDD____IIIINNNNFFFFOOOO((((3333EEEE)))) XXXXLLLLAAAATTTTEEEE____PPPPRRRROOOO____AAAADDDDDDDD____IIIINNNNFFFFOOOO((((3333EEEE))))
NNNNAAAAMMMMEEEE
_xxxx_llll_aaaa_tttt_eeee______pppp_rrrr_oooo______aaaa_dddd_dddd______iiii_nnnn_ffff_oooo - set recorded overall info
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
_####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_eeee_llll_ffff_...._hhhh_>>>>
_####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_llll_iiii_bbbb_eeee_llll_ffff_...._hhhh_>>>>
_####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_dddd_wwww_aaaa_rrrr_ffff_...._hhhh_>>>>
_####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_llll_iiii_bbbb_dddd_wwww_aaaa_rrrr_ffff_...._hhhh_>>>>
_####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_cccc_mmmm_pppp_llll_rrrr_ssss_////_xxxx_llll_aaaa_tttt_eeee_...._hhhh_>>>>
_####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_llll_iiii_bbbb_XXXX_llll_aaaa_tttt_eeee_...._hhhh_>>>>
_iiii_nnnn_tttt _xxxx_llll_aaaa_tttt_eeee______pppp_rrrr_oooo______aaaa_dddd_dddd______iiii_nnnn_ffff_oooo_((((_xxxx_llll_aaaa_tttt_eeee______tttt_aaaa_bbbb_llll_eeee______pppp_rrrr_oooo _pppp_rrrr_oooo______tttt_aaaa_bbbb_llll_eeee______pppp_tttt_rrrr_,,,,
_EEEE_llll_ffff_6666_4444______SSSS_xxxx_wwww_oooo_rrrr_dddd _dddd_aaaa_tttt_aaaa______mmmm_oooo_vvvv_eeee_dddd_,,,,
_EEEE_llll_ffff_6666_4444______AAAA_dddd_dddd_rrrr _ssss_tttt_aaaa_rrrr_tttt_uuuu_pppp______ffff_wwww_aaaa_,,,,
_EEEE_llll_ffff_6666_4444______AAAA_dddd_dddd_rrrr _ssss_tttt_aaaa_rrrr_tttt_uuuu_pppp______llll_wwww_aaaa_,,,,
_EEEE_llll_ffff_3333_2222______WWWW_oooo_rrrr_dddd _oooo_llll_dddd______tttt_eeee_xxxx_tttt______eeee_xxxx_iiii_ssss_tttt_ssss_,,,,
_EEEE_llll_ffff_3333_2222______WWWW_oooo_rrrr_dddd _oooo_llll_dddd______tttt_eeee_xxxx_tttt______aaaa_llll_llll_oooo_cccc
_))))_;;;;
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
_x_l_a_t_e__p_r_o__a_d_d__i_n_f_o is used to set values into the xlate data stream.
_p_r_o__t_a_b_l_e__p_t_r must be a valid open producer translate table handle.
These values cannot be calculated by the library but must be supplied by
the application. If _x_l_a_t_e__p_r_o__a_d_d__i_n_f_o is not called, 0 will be used as
a default value for the corresponding fields of the xlate header in the
created byte stream.
_d_a_t_a__m_o_v_e_d
Pass in the number of bytes the data section was moved (normally
only pixie(1) moves data sections). The value is not the amount
the text was moved but the amount that the data had moved above
and beyond text movement. The movement is important because
_r_l_d(1) relies on the distance between text and data being fixed.
The movement is an important fact in the translation process but
the fact is not ordinarily needed by consuming tools or
applications.
_s_t_a_r_t_u_p__f_w_a
Pass in the pc address (First Word Address) (in the translated
text) of special startup code introduced by a translation tool.
_p_i_x_i_e is currently the only tool creating such special startup
code. Other tools should pass in 0 for a value.
_s_t_a_r_t_u_p__l_w_a
Pass in the pc address (Last Word Address) (in the translated
text) of the end (actually one past the last address) of the
startup code introduced by a translation tool. _p_i_x_i_e is
currently the only tool creating such special startup code.
Other tools should pass in 0 for a value.
PPPPaaaaggggeeee 1111
XXXXLLLLAAAATTTTEEEE____PPPPRRRROOOO____AAAADDDDDDDD____IIIINNNNFFFFOOOO((((3333EEEE)))) XXXXLLLLAAAATTTTEEEE____PPPPRRRROOOO____AAAADDDDDDDD____IIIINNNNFFFFOOOO((((3333EEEE))))
_o_l_d__t_e_x_t__e_x_i_s_t_s
Pass in is 1 if the original (untranslated) text is present in
the executable or DSO. Pass in 0 if the original text is not
present. _c_o_r_d(1)ed DSOs often do not have the original text
present. _p_i_x_i_ed applications and DSOs usually do have the
original text present.
_o_l_d__t_e_x_t__a_l_l_o_c
Pass in 1 if the original text is present and is marked to be
brought into memory automatically on program startup. Otherwise
_o_l_d__t_e_x_t__a_l_l_o_c pass in 0. This lets a consuming application
(such as a debugger) know what it has to do to find the relevant
original text image.
FFFFIIIILLLLEEEESSSS
/usr/include/libXlate.h
/usr/include/cmplrs/xlate.h
/usr/include/elf.h
/usr/include/dwarf.h
/usr/include/libdwarf.h
/usr/lib/libelfutil.a
DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
Returns XLATE_TB_STATUS_NO_ERROR (0) on success. In case of error, a
negative number is returned indicating the error. In case of error,
nothing is returned thru the pointer arguments which would return values
on successful call (values might have been changed thru these pointers
but any such changes are not meaningful).
Error returns possible are:
_X_L_A_T_E__T_B__S_T_A_T_U_S__I_N_V_A_L_I_D__T_A_B_L_E
means that the _p_r_o__t_a_b_l_e__p_t_r is not a valid open producer handle.
_X_L_A_T_E__T_B__S_T_A_T_U_S__A_D_D__T_O_O__L_A_T_E
means that the call has occurred after a call to
_x_l_a_t_e__p_r_o__d_i_s_k__h_e_a_d_e_r which is not allowed. call
_x_l_a_t_e__p_r_o__a_d_d__i_n_f_o before calling _x_l_a_t_e__p_r_o__d_i_s_k__h_e_a_d_e_r.
SSSSEEEEEEEE AAAALLLLSSSSOOOO
libelfutil(5), open(2), xlate(4), xlate_init_fd(3), xlate_finish(3),
xlate_get_info(3), xlate_pro_init(3), xlate_pro_finish(3)
PPPPaaaaggggeeee 2222